package com.ruoyi.web.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 下载链接对象 software_link
 * 
 * @author song
 * @date 2024-08-26
 */
public class SoftwareLink extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 链接ID */
    private Long linkId;

    /** 版本ID */
    @Excel(name = "版本ID")
    private Long versionId;

    /** 软件ID */
    @Excel(name = "软件ID")
    private Long softwareId;

    /** 链接名称 */
    @Excel(name = "链接名称")
    private String linkName;

    /** 软件名称 */
    @Excel(name = "软件名称")
    private String softwareName;

    /** 版本名称 */
    @Excel(name = "版本名称")
    private String versionName;

    /** 链接地址 */
    @Excel(name = "链接地址")
    private String linkUrl;

    /** 状态（0禁用，1启用） */
    @Excel(name = "状态", readConverterExp = "0=禁用，1启用")
    private String status;

    public void setLinkId(Long linkId) 
    {
        this.linkId = linkId;
    }

    public Long getLinkId() 
    {
        return linkId;
    }
    public void setVersionId(Long versionId) 
    {
        this.versionId = versionId;
    }

    public Long getVersionId() 
    {
        return versionId;
    }
    public void setLinkName(String linkName) 
    {
        this.linkName = linkName;
    }

    public String getLinkName() 
    {
        return linkName;
    }
    public void setLinkUrl(String linkUrl) 
    {
        this.linkUrl = linkUrl;
    }

    public String getLinkUrl() 
    {
        return linkUrl;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    public Long getSoftwareId() {
        return softwareId;
    }

    public void setSoftwareId(Long softwareId) {
        this.softwareId = softwareId;
    }

    public void setSoftwareName(String softwareName) {
        this.softwareName = softwareName;
    }

    public void setVersionName(String versionName) {
        this.versionName = versionName;
    }

    public String getSoftwareName() {
        return softwareName;
    }

    public String getVersionName() {
        return versionName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("linkId", getLinkId())
            .append("versionId", getVersionId())
            .append("softwareId", getSoftwareId())
            .append("softwareName", getSoftwareName())
            .append("versionName", getVersionName())
            .append("linkName", getLinkName())
            .append("linkUrl", getLinkUrl())
            .append("status", getStatus())
            .append("createTime", getCreateTime())
            .append("createBy", getCreateBy())
            .append("updateTime", getUpdateTime())
            .append("updateBy", getUpdateBy())
            .append("remark", getRemark())
            .toString();
    }
}
